-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Add guidance for implementing an external standard on graph #503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: corranrogue9/externalstandards
Are you sure you want to change the base?
Conversation
Adding missing newline
graph/GuidelinesGraph.md
Outdated
@@ -328,6 +329,19 @@ For a complete mapping of error codes to HTTP statuses, see | |||
|
|||
<a name="api-contract-and-non-backward-compatible-changes"></a> | |||
|
|||
## External standards | |||
|
|||
For ease of client use and interoperatibility, some APIs should implement a standard that is defined external to Microsoft Graph and OData. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From Mike, I should be clear what APIs "conflict with odata stnadrad/graph guidelines"
graph/GuidelinesGraph.md
Outdated
Workloads must define these standards in their CSDL model if they do not conflict with the OData standard. | ||
Standards that *do* conflict with the OData standard may be defined in the CSDL in one of two ways: | ||
1. Using `Edm.Untyped` only and support for the external standard will come directly from the service implementation; OR | ||
2. Adding CSDL elements to model the external standard using `Edm.String` for `EnumType`s that conflict with the OData standard and `Edm.Untyped` wherever any other conflict with the OData standard occurs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From Mike: The structuring of the conjunction makes this sentence seem like it's only about enums
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The allowed values annotaiton should be used for strings
Signed-off-by: Troy Connor <[email protected]>
Co-authored-by: Jeffrey Richter <[email protected]>
Co-authored-by: Darrel <[email protected]>
…rties New default properties pattern
Add guidance for naming flags vs non-flags enums and cases where they should be defined side-by-side
Update Guidelines.md
Fixed wording from `modeling behavior` to `behavior modeling`
Corrected RFC reference
Fixed minor wording
…-rule Updated naming rule for Booleans
Co-authored-by: Michael Pizzo <[email protected]>
Co-authored-by: Michael Pizzo <[email protected]>
* Initial pass of versioning guidelines * Apply suggestions from PR review Co-authored-by: Jeffrey Richter <[email protected]>
Also makes how we refer to RFCs numerically in text. We had a mix of `RFC \d+` and `RFC\d+`. I wanted to make them consistent so they are easier (more consistent) to search.
Fix RFC 1123 mention to RFC 7231
Add guidance to use composable functions instead of filter-as-segment feature
Added guidelines about JSON ID and null values
Remove null from JSON payload
Corrected RFC reference
…ions add guidance for transitioning from a structural collection to a navigation collection
No description provided.